#coding=utf8

from django.conf.urls.defaults import *
from django.conf import settings as _settings

urlpatterns = patterns('',
    url(r'^site_media/(?P<path>.*)$', 'django.views.static.serve',
        {'document_root': _settings.STATIC_PATH}),
    
    url(r'^%s/?$' % _settings.URL_PREFIX,
        '%s.web.commonapp.views.index' % _settings.PROJECT_NAME, name='formerapp-index'),
    
    url(r'^links/$', 'former_project.web.views.links', name='links'),
    url(r'^login/$', 'former_project.web.user_views.login', name='login'),
    url(r'^logout/$', 'former_project.web.user_views.logout', name='logout'),
)
